package main

import (
	"./BLC"
	"fmt"
)

func main(){
	bc:=BLC.NewBlockChain()
	bc.AddBlock("Send 20 BTC To LuoDan")
	bc.AddBlock("Send 20 BTC To LuoDan")
	bc.AddBlock("Send 20 BTC To 罗丹")
	bc.AddBlock("Send 20 BTC To LuoDan")
	bc.AddBlock("Send 20 BTC To LuoDan")
	for i,block:=range bc.Blocks{
		fmt.Printf("这是第%d个区块:",i)
		block.Print()
	}
}